<template>
  <div class="box">
    <Teleport to="body" :disabled="true">
      <div class="loading-inner">
        <a-spin tip="加载中..."/>
      </div>
    </Teleport>
  </div>
</template>
<style scoped lang="less">
.box {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999999999999;
  background: rgba(0, 0, 0, .3);

  .loading-inner {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
</style>